package cn.virens.common.boot.rabbit.autoconfig;

import cn.virens.common.util.exception.APIException;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class RabbitManagePropertiesExchange extends RabbitManagePropertiesArgs {
    private Boolean autoDelete;
    private Boolean durable;
    private String name;
    private String impl;

    @Override
    public String toString() throws APIException {
        return "Exchange {name=" + name + //
                ", autoDelete=" + autoDelete + //
                ", durable=" + durable + //
                ", impl=" + impl + //
                '}';
    }
}
